
public class Compte {

private String nom;
private String password;
private int solde;

Compte (String nom, String password, int solde) {
 this.nom = nom; 
 this.password = password;
 this.solde = solde;
}

public int getSolde() {
  return this.solde;
}

public String getPassword() {
  return this.password;
}

public String getNom() {
  return this.nom;
}

public void setSolde(int s) {
  this.solde = s;
}

public void setPassword(String p) {
  this.password = p;
}

public void setNom(String n) {
  this.nom = n;
}


}
